﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.ResourceManage
{
    /// <summary>
    /// 通用资源,中文名称，英文名称，所属
    ///
    /// </summary>
    public class ResourceBase
    {
        #region Model
        private string _resid;  //
        private string _judgeunique;
        private string _hotkey;
        private string _icon;
        private string _remark;
        private string _isdelete;
        private string _isorder;
        private string _isrownum;
        private string _networkid;
        private string _queryfromview;
        private string _modifyinfotable;
        private string _viewinfo;
        private string _isragatory;
        private string _isadditive;
        private string _iseditable;
        private string _needautocode;
        /// <summary>
        /// 资源表名称
        /// </summary>
        public string RESID
        {
            set { _resid = value; }
            get { return _resid; }
        }
        /// <summary>
        /// 该字段在程序中目前没有用到。可空
        /// </summary>
        public string JUDGEUNIQUE
        {
            set { _judgeunique = value; }
            get { return _judgeunique; }
        }
        /// <summary>
        /// 现在该字段没有任何意义。可空
        /// </summary>
        public string HOTKEY
        {
            set { _hotkey = value; }
            get { return _hotkey; }
        }
        /// <summary>
        /// 现在该字段没有任何意义。可空
        /// </summary>
        public string ICON
        {
            set { _icon = value; }
            get { return _icon; }
        }
        /// <summary>
        /// 备注。可空
        /// </summary>
        public string REMARK
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 判断该资源是否删除，N/Y
        /// </summary>
        public string ISDELETE
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 判断该资源是否排序，如果排序添加排序字段
        /// </summary>
        public string ISORDER
        {
            set { _isorder = value; }
            get { return _isorder; }
        }
        /// <summary>
        ///  现在该字段没有任何意义。可空
        /// </summary>
        public string ISROWNUM
        {
            set { _isrownum = value; }
            get { return _isrownum; }
        }
        /// <summary>
        /// 所属网系
        /// </summary>
        public string NETWORKID
        {
            set { _networkid = value; }
            get { return _networkid; }
        }
        /// <summary>
        /// 查询资源所在试图
        /// </summary>
        public string QUERYFROMVIEW
        {
            set { _queryfromview = value; }
            get { return _queryfromview; }
        }
        /// <summary>
        /// 该资源修改时所用视图或表
        /// </summary>
        public string MODIFYINFOTABLE
        {
            set { _modifyinfotable = value; }
            get { return _modifyinfotable; }
        }
        /// <summary>
        /// 资源中文名
        /// </summary>
        public string VIEWINFO
        {
            set { _viewinfo = value; }
            get { return _viewinfo; }
        }
        /// <summary>
        /// 该资源是否可查询。取值Y:是；N:否
        /// </summary>
        public string ISRAGATORY
        {
            set { _isragatory = value; }
            get { return _isragatory; }
        }
        /// <summary>
        /// 该资源是否可添加记录。取值Y:是；N:否。
        /// </summary>
        public string ISADDITIVE
        {
            set { _isadditive = value; }
            get { return _isadditive; }
        }
        /// <summary>
        /// ：该资源是否允许用户修改记录。取值Y:是；N:否。
        /// </summary>
        public string ISEDITABLE
        {
            set { _iseditable = value; }
            get { return _iseditable; }
        }
        /// <summary>
        /// 该资源基本表中需要自动编码的字段。规则：1、现在该字段没有任何意义。可空
        /// </summary>
        public string NEEDAUTOCODE
        {
            set { _needautocode = value; }
            get { return _needautocode; }
        }
        #endregion Model

    }
}
